package com.jinly.ryder.deploy.web.vo;

import com.jinly.ryder.manage.service.model.DeployStatus;
import com.jinly.ryder.monitor.service.model.ServiceStatus;
import lombok.Data;

@Data
public class DeployInstanceStatus {

    private Integer instanceId;

    /**
     * 部署状态 待发布，发布中，发布成功，发布失败
     */
    private DeployStatus deployStatus;

    /**
     * 发布中的任务名称
     */
    private String deployingTaskName;
    /**
     * 发布中的任务进度
     */
    private Double deployingProgress;

    /**
     * 主机状态
     */
    private ServiceStatus hostStatus;

    /**
     * 服务状态
     */
    private ServiceStatus serviceStatus;
}
